From 9f90eb41c87ea86984ea20cb961284755f01384f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timm=20B=C3=A4der?= Date: Mon, 27 Apr 2020 11:55:00 +0200 Subject: [PATCH] scalebutton: Remove unused click_id member --- gtk/gtkscalebutton.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/gtk/gtkscalebutton.c b/gtk/gtkscalebutton.c index 809e790857..4029279bf8 100644 --- a/gtk/gtkscalebutton.c +++ b/gtk/gtkscalebutton.c @@ -119,8 +119,6 @@ typedef struct GtkScrollType autoscroll_step; gboolean autoscrolling; - guint click_id; - gchar **icon_list; GtkAdjustment *adjustment; /* needed because it must be settable in init() */ @@ -409,7 +407,6 @@ gtk_scale_button_init (GtkScaleButton *button) GtkScaleButtonPrivate *priv = gtk_scale_button_get_instance_private (button); GtkEventController *controller; - priv->click_id = 0; priv->orientation = GTK_ORIENTATION_VERTICAL; priv->applied_orientation = GTK_ORIENTATION_VERTICAL; @@ -542,12 +539,6 @@ gtk_scale_button_dispose (GObject *object) g_clear_pointer (&priv->dock, gtk_widget_unparent); g_clear_pointer (&priv->button, gtk_widget_unparent); - if (priv->click_id != 0) - { - g_source_remove (priv->click_id); - priv->click_id = 0; - } - G_OBJECT_CLASS (gtk_scale_button_parent_class)->dispose (object); } -- 2.30.2